package messagesPacks;
import Entity.BookCopy;
import Entity.User;

public class BorrowMessage extends GenericMessage
{
	private static final long serialVersionUID = 1L;
	private BookCopy copy;
	private User borrow_user;
	
	public BorrowMessage()
	{
		this.type = msgType.BorrowMSG;
	}
	
	public BorrowMessage(User user)
	{
		this.type = msgType.BorrowMSG;
		this.borrow_user = user;
	}

	public User getBorrow_user() 
	{
		return borrow_user;
	}

	public void setBorrow_user(User borrow_user) 
	{
		this.borrow_user = borrow_user;
	}

	public BookCopy getCopy() 
	{
		return copy;
	}

	public void setCopy(BookCopy copy) 
	{
		this.copy = copy;
	}
}